package com.ysqcould.members.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 入会申请对象 t_apply
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class Apply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    /** 是否是老会员：0不是，1是 */
    @Excel(name = "是否是老会员：0不是，1是")
    private Long isOld;

    /** 团体id */
    @Excel(name = "团体id")
    private Long groupNameId;

    /** 企业社团名称 */
    @Excel(name = "企业社团名称")
    private String firmName;

    /** 入会类型：1个人会员，2企业会员，3团体会员 */
    @Excel(name = "入会类型：1个人会员，2企业会员，3团体会员")
    private Long applyType;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 职务名称 */
    @Excel(name = "职务名称")
    private String jobName;

    /** 性别：1男，2女 */
    @Excel(name = "性别：1男，2女")
    private Long sex;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 行业id */
    @Excel(name = "行业id")
    private Long tradeId;

    /** 行业名称 */
    @Excel(name = "行业名称")
    private String tradeName;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 自定义字段内容 */
    @Excel(name = "自定义字段内容")
    private String customField;

    /** 申请状态：0申请中，1申请通过，2申请失败 */
    @Excel(name = "申请状态：0申请中，1申请通过，2申请失败")
    private Long applyStatus;

    /** 驳回理由 */
    @Excel(name = "驳回理由")
    private String rejectReason;

    /** 抄送人id多个用;分隔 */
    @Excel(name = "抄送人id多个用;分隔")
    private String copyIds;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setIsOld(Long isOld) 
    {
        this.isOld = isOld;
    }

    public Long getIsOld() 
    {
        return isOld;
    }
    public void setGroupNameId(Long groupNameId) 
    {
        this.groupNameId = groupNameId;
    }

    public Long getGroupNameId() 
    {
        return groupNameId;
    }
    public void setFirmName(String firmName) 
    {
        this.firmName = firmName;
    }

    public String getFirmName() 
    {
        return firmName;
    }
    public void setApplyType(Long applyType) 
    {
        this.applyType = applyType;
    }

    public Long getApplyType() 
    {
        return applyType;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setJobName(String jobName) 
    {
        this.jobName = jobName;
    }

    public String getJobName() 
    {
        return jobName;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTradeId(Long tradeId) 
    {
        this.tradeId = tradeId;
    }

    public Long getTradeId() 
    {
        return tradeId;
    }
    public void setTradeName(String tradeName) 
    {
        this.tradeName = tradeName;
    }

    public String getTradeName() 
    {
        return tradeName;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setCustomField(String customField) 
    {
        this.customField = customField;
    }

    public String getCustomField() 
    {
        return customField;
    }
    public void setApplyStatus(Long applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public Long getApplyStatus() 
    {
        return applyStatus;
    }
    public void setRejectReason(String rejectReason) 
    {
        this.rejectReason = rejectReason;
    }

    public String getRejectReason() 
    {
        return rejectReason;
    }
    public void setCopyIds(String copyIds) 
    {
        this.copyIds = copyIds;
    }

    public String getCopyIds() 
    {
        return copyIds;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("userId", getUserId())
            .append("isOld", getIsOld())
            .append("groupNameId", getGroupNameId())
            .append("firmName", getFirmName())
            .append("applyType", getApplyType())
            .append("name", getName())
            .append("phone", getPhone())
            .append("jobName", getJobName())
            .append("sex", getSex())
            .append("address", getAddress())
            .append("tradeId", getTradeId())
            .append("tradeName", getTradeName())
            .append("email", getEmail())
            .append("customField", getCustomField())
            .append("applyStatus", getApplyStatus())
            .append("rejectReason", getRejectReason())
            .append("copyIds", getCopyIds())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
